/**
  * @Author: songgh
  * @Date: 2021-09-20 14:41:08
  * @LastEditors: songgh
  * @LastEditTime: 2021-09-20 15:41:08
  * @Description: 注册全局组件
  */
import * as components from './components';
import type { App } from 'vue';

export const install = function (app: App) {
    Object.keys(components).forEach(key => {
        const component = components[key];
        app.component(key,component);
    });
}
